﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace projectgame
{
    public class ChallengeRipeAndHarvestFruitAndRadishInADay : Challenge
    {
        public override string Name { get; } = "同一天收获当天成熟的果实和萝卜";

        public override bool CheckFinish()
        {
            return Global.Days.Value != StarDate && ChallengeController.RipeAndHarvestCountInCurrentDay.Value >= 1 &&
                   ChallengeController.RipeAndHarvestRadishCountInCurrentDay.Value >= 1;
        }

        public override void OnFinish()
        {

        }

        public override void OnStart()
        {

        }
    }
}
